package com.woniu.search.service;

import com.woniu.cinema.domain.Actor;
import com.woniu.cinema.domain.Cinema;
import com.woniu.cinema.vo.MovieVo;
import com.woniu.common.core.domain.AjaxResult;

import java.util.List;

/**
 * @author 杨光 微信号:tolryg
 * @time 10:39
 */
public interface SearchService {
    void refreshMovie(Integer movieId);

    void refreshCinema(Integer cinemaId);

    void refreshActor(Integer actorId);

    List<MovieVo> queryMovieVoByMovieId(Integer movieId);

    List<Cinema> queryCinemaByCinemaId(Integer cinemaId);

    List<Actor> queryActorByActorId(Integer actorId);

    AjaxResult searchMovie(String searchKey);

    AjaxResult searchActor(String searchKey);

    AjaxResult searchCiname(String searchKey);
}
